<?php
namespace Jobs\Job\Tmp;

use Base\Exception\Service;

class Send extends \Base\Jobs\Job {

    public function action($argv = array()) {
        $uid = '1000001';
        $uid_list = array(
            '1000001',
            '1000002',
            '1000003'
        );
        $body = array(
            'title'=>'标题',
            'content'=>'内容',
        );
//        $ret = (new \Service\Netease\Msg())->send($uid,$body,\Dao\Db\Netease\UserMsg::TYPE_CONSUME_CLEAR);
//        $ret = (new \Service\Netease\Msg())->batchSend($uid_list,$body,\Dao\Db\Netease\UserMsg::TYPE_CONSUME_CLEAR);
        $ret = (new \Service\Netease\Msg())->allSend($body);
        var_dump($ret);
    }
}